package com.framework.auth.system.controller;

import com.framework.auth.common.log.LogAnnotation;
import com.framework.auth.pay.api.PaypalApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping
public class A {
    @Autowired
    private PaypalApi paypalApi;


    @GetMapping("/system-service/test")
    @LogAnnotation
    public Map<String, Object> test() {
     return paypalApi.test();
    }
}
